<h2 class="title">计划申请信息</h2>

<table class="tb_term" width="100%">
<tr>
	<td class="tr_td_width01 alignright">计划申请编号</td>
	<td class="tr_td_width03"><input class="input_browse_stand txt-normal" type=text name="investment_no" value='{%$investment_no%}' readonly></td>
	<td class="tr_td_width02 alignright">计划申请人员</td>
	<td>
		<select name="admin_user_id" class="select_browse txt-normal" readonly>
			{%html_options options=$admin_info selected=$admin_user_id %}
		</select>
	</td>
</tr>
<tr>	
	<td class="alignright">计划申请日期</td>
	<td colspan="3">
		<input class="input_date_browse txt-normal" type=text name="application_date" id="application_date" value='{%$application_date|date_format:"%Y-%m-%d"%}' readonly />
	</td>
</tr>
<tr>
	<td class="alignright">计划申请备注</td>
	<td colspan="5"><textarea rows="3" class="textarea_browse txt-normal" name="plan_notes" readonly>{%$plan_notes%}</textarea></td>
</tr>
</table>
<p class="btn_right">
	{%if !$is_reply%}
	<button type="button" class="b-default" hidefocus="true" onclick="window.location.href='index.php?c=zy_mc_type&m=add&investment_no={%$investment_no%}'"><span><em>添加设备</em></span></button>
	<button type="button" class="b-default" hidefocus="true" onclick="window.location.href='index.php?c=zy_mc_type&m=imports&investment_no={%$investment_no%}'"><span><em>导入</em></span></button>
	{%/if%}
	<button type="button" class="b-default" hidefocus="true" onclick="window.location.href='index.php?c=zy_nvestment'"><span><em>返回</em></span></button>
</p>

<div class="title_box">
	<div class="title_txt">申请设备明细</div>
	<div class="find_bar">
		<form name="form_find" method="get" action="">
		<label class="find_name">设备名称</label>
		<input type="text" class="input_find" maxlength="50" name="cn_name" value="{%$smarty.get.cn_name%}">
		<input type="hidden" name="investment_no" value="{%$smarty.get.investment_no%}">
		<input type="hidden" name="m" value="{%$smarty.get.m%}">
		<input type="hidden" name="c" value="{%$smarty.get.c%}">
		<!--<button type="submit" class="b-default" hidefocus="true"><span><em>查询</em></span></button>-->	
		<label class="find_btn" onclick="javascript:form_find.submit();"> 查询</label>
		</form>
	</div>
</div>
<DIV class="list_div">
<table class="tb_list" width="100%">
<tr class="title">
	<td class="list_td_zw_10">中文名称</td>
	<td class="list_td_zw_10">英文名称</td>
	<!--
	<td>购置性质</td>
	-->
	<td>规格型号</td>
	<td class="list_td_zw_02">数量</td>
	<td class="list_td_zw_02">单位</td>
	<td class="list_td_zw_04">制造周期</td>	
	<td class="list_td_zw_04">造价</td>
	<!--<td>管理费</td>
	<td>增值税</td>
	<td>总价(万元)</td>-->
	<td class="list_td_zw_10">所属项目</td>
	<td class="list_td_zw_opt03">操作</td>
</tr>
{%foreach item=list from=$zy_mc_type_arr%}
<tr>
	<td class="alignleft" title="{%$list.mc_cn_name%}">{%cut_str str=$list.mc_cn_name sublen=10%}</td>
	<td class="alignleft" title="{%$list.mc_en_name%}">{%cut_str str=$list.mc_en_name sublen=10%}</td>
	<!--
	<td>{%$sell_type_arr[$list.sell_type_id]%}</td>
	-->
	<td class="alignleft">{%cut_str str=$list.mc_type_model sublen=10%}</td>	
	<td>{%$list.plan_no%}</td>
	<td>{%$list.unit%}</td>			
	<td>{%$list.make_time%}</td>
	<td class="alignleft">{%$list.make_cost%}</td>			
	<!-- <td>{%$list.manage_cost%}</td>
	<td>{%$list.vat%}</td>
	<td>{% $list.make_cost+$list.manage_cost+$list.vat%}</td>
	-->
	<td class="alignleft" title="{%$project_arr[$list.project_id]%}">{%cut_str str=$project_arr[$list.project_id] sublen=10%}</td>
	<td>
		<a href='index.php?c=zy_mc_type&m=edit&is_show=1&v_mc_id={%$list.v_mc_id%}&investment_no={%$investment_no%}'>查看</a>&nbsp;
		{% if $list.is_exists != 1%}
			<a href='index.php?c=zy_mc_type&m=edit&v_mc_id={%$list.v_mc_id%}&investment_no={%$investment_no%}'>修改</a>&nbsp;
			<a href='index.php?c=zy_mc_type&m=del&v_mc_id={%$list.v_mc_id%}&investment_no={%$investment_no%}' onclick="return confirm('您确认删除吗？')">删除</a>
		{%/if%}
	</td>
</tr>
{%foreachelse%}
<tr><td colspan="9">暂无内容</td></tr>
{%/foreach%}
</table>

{%if $zy_mc_type_arr%}
	<div class="pagenation aligncenter">
		<div id="pager">{%$page_footer%}</div>
	</div>
{%/if%}
</DIV>